package com.wongsir.springbootdemo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.wongsir.springbootdemo.service.ISpringbootDemoService;

/**
 * @Description:
 * @author hjd
 * @date 2018年8月13日
 */
@RestController
public class TestController {
	
	@Autowired
	private ISpringbootDemoService springbootDemoService;
	
	@PostMapping("/st/login")
	public String testLogin() {
		return springbootDemoService.testLogin();
	}
	
	@PostMapping("/st/login/resp")
	public String testResponse() {
		return "测试登录响应";
	}
}
